package com.hebust.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "class")
public class Class {
    @Id
    private Integer cId;

    private Integer cMajorId;

    private Integer cGrade;

    private String cName;
}
